import { axios } from '@/utils/request'

export function addFolder(body) {
  return axios({
    url: '/baseDataFolder/add',
    method: 'post',
    data: body
  })
}

export function editFolder(body) {
  return axios({
    url: '/baseDataFolder/edit',
    method: 'post',
    data: body
  })
}

export function deleteFolder(body) {
  return axios({
    url: '/baseDataFolder/delete',
    method: 'post',
    data: body
  })
}

export function folderTree() {
  return axios({
    url: '/baseDataFolder/tree',
    method: 'get'
  })
}
